package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_bow_art_launch", desc = "弓术大会射箭记录", autoSave = true, uploadCk = true)
public class LogBowArtLaunch extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "箭矢id")
    private int goodsId;
    @FieldTypeAnnotation(desc = "命中环数")
    private int rings;
    @FieldTypeAnnotation(desc = "箭靶类型")
    private int targetType;
    @FieldTypeAnnotation(desc = "积分")
    private long score;


    public LogBowArtLaunch(long userId, int activityId, int goodsId, int rings, int targetType) {
        this.userId = userId;
        this.activityId = activityId;
        this.goodsId = goodsId;
        this.rings = rings;
        this.targetType = targetType;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public int getRings() {
        return rings;
    }

    public void setRings(int rings) {
        this.rings = rings;
    }

    public int getTargetType() {
        return targetType;
    }

    public void setTargetType(int targetType) {
        this.targetType = targetType;
    }

    public long getScore() {
        return score;
    }

    public void setScore(long score) {
        this.score = score;
    }
}
